package xyz.suancaiyu.blogservice.client.hystrix;

import org.springframework.stereotype.Component;
import xyz.suancaiyu.blogservice.client.UserServiceClient;
import xyz.suancaiyu.blogservice.entity.User;
import xyz.suancaiyu.dto.RespDTO;

/**
 * @author puruidong
 * @version 2019/1/25 23:50
 */
@Component
public class UserServiceHystrix implements UserServiceClient {

    @Override
    public RespDTO<User> getUser(String token, String username) {
        System.out.println(token);
        System.out.println(username);
        return null;
    }
}
